package com.internship.dao;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.Paper;
import com.internship.page.Pagination;

public interface PaperDao {
	public Paper getPaperById(int Id);
	public List<Paper>  getPaperList(@Param("DeptCode") String DeptCode ,@Param("Title") String Title ,Pagination page);
	public int addPaper(Paper paper);
	public int updatePaper(Paper paper);
	public int updateDownloadCount(@Param("Id") int Id);
	public int delPaper(@Param("Id") int Id);
	public int delAll(String[] ids);

}
